package com.wowangz.cms.syscore.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 统一定义公用字段及方法的entity基类.
 *
 */
@SuppressWarnings("serial")
public abstract class BaseEntity implements Serializable {

	// 主键id
	protected Long id;
	private Date inputtime; // 添加时间
	private Long inputuserid; // 添加人id(来源于当前录入人信息)
	private Date modifytime; // 最后一次修改时间
	private Long modifyuserid; // 最后一次修改人信息
	private Long statusid; // 状态(1表示有效，0表示无效删除)

	public Long getId() {
		return id;
	}

	public Date getInputtime() {
		return inputtime;
	}

	public Long getInputuserid() {
		return inputuserid;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public Long getModifyuserid() {
		return modifyuserid;
	}

	public Long getStatusid() {
		return statusid;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setInputtime(Date inputtime) {
		this.inputtime = inputtime;
	}

	public void setInputuserid(Long inputuserid) {
		this.inputuserid = inputuserid;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public void setModifyuserid(Long modifyuserid) {
		this.modifyuserid = modifyuserid;
	}

	public void setStatusid(Long statusid) {
		this.statusid = statusid;
	}

}
